/**
 * Creator.java
 * Version: 1.0
 * Created in 06/08/2013
 * Created by: Gerson Groth
 * 
 * Copyright
 */
package activities.base.tcx;

/**
 * The Class Creator.
 * 
 * @author Gerson Groth
 */
public class Creator {

	/** The xsi type. */
	private String xsiType; // SEE - Verificar possibilidade de criar classe

	/** The name. */
	private String name;

	/** The unit id. */
	private String unitId;

	/** The product id. */
	private String productId;

	/** The version. */
	private BuildVersion version;

	/**
	 * Instantiates a new creator.
	 * 
	 * @param xsiType
	 *            the xsi type
	 * @param name
	 *            the name
	 * @param unitId
	 *            the unit id
	 * @param productId
	 *            the product id
	 * @param version
	 *            the version
	 */
	public Creator(String xsiType, String name, String unitId,
			String productId, BuildVersion version) {
		super();
		this.xsiType = xsiType;
		this.name = name;
		this.unitId = unitId;
		this.productId = productId;
		this.version = version;
	}

	/**
	 * Gets the xsi type.
	 * 
	 * @return the xsi type
	 */
	public String getXsiType() {
		return xsiType;
	}

	/**
	 * Sets the xsi type.
	 * 
	 * @param xsiType
	 *            the new xsi type
	 */
	public void setXsiType(String xsiType) {
		this.xsiType = xsiType;
	}

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name
	 *            the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Gets the unit id.
	 * 
	 * @return the unit id
	 */
	public String getUnitId() {
		return unitId;
	}

	/**
	 * Sets the unit id.
	 * 
	 * @param unitId
	 *            the new unit id
	 */
	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	/**
	 * Gets the product id.
	 * 
	 * @return the product id
	 */
	public String getProductId() {
		return productId;
	}

	/**
	 * Sets the product id.
	 * 
	 * @param productId
	 *            the new product id
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}

	/**
	 * Gets the version.
	 * 
	 * @return the version
	 */
	public BuildVersion getVersion() {
		return version;
	}

	/**
	 * Sets the version.
	 * 
	 * @param version
	 *            the new version
	 */
	public void setVersion(BuildVersion version) {
		this.version = version;
	}

}
